<form class="form-horizontal">
	<div {{bind-attr class=":alert alertType formTip::hide"}}><strong>{{formTip}}</strong></div>
		<div {{bind-attr class=":alert alertType saveResult::hide"}}><strong>{{saveResult}}</strong></div>
	<div class="container-fluid">
	<div class="row-fluid">
	<div class="span2">
			基本配置
	</div>
	<div class="span10">
	<div class="control-group">
		<label class="control-label"><i class="field-required"><font color="red">*</font></i>主机名称</label>
		<div class="controls">
			{{input class="input span4" value=form.machineName
				tooltip="请填写主机名称,只能含数字、英文字母或者下划线"}}
		</div>
	</div>
	<div class="control-group">
		<label class="control-label"><i class="field-required"><font color="red">*</font></i>本机IP</label>
		<div class="controls">
			{{input class="input span4" value=form.localIp
				tooltip="本机监控口IP地址"}}
		</div>
	</div>
	<div class="control-group">
		<label class="control-label"><i class="field-required"><font color="red">*</font></i>子网掩码</label>
		<div class="controls">
			{{input class="input span4" value=form.subnetMask
				tooltip="请填写子网掩码"}}
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">网关</label>
		<div class="controls">
			{{input class="input span4" value=form.gateway
				tooltip="请填网关"}}
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">首选DNS服务器</label>
		<div class="controls">
			{{input class="input span4" value=form.firstDNS
				tooltip="请填写首选DNS服务器"}}
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">备用DNS服务器</label>
		<div class="controls">
			{{input class="input span4" value=form.secondDNS
				tooltip="请填写备用DNS服务器"}}
		</div>
	</div>
	</div>
	</div>
	
	<div class="row-fluid">
	<div class="span2">
			时间设置
	</div>
	<div class="span10">
	<div class="control-group">
		<label class="control-label">当前系统时间</label>
		<div class="controls">
			{{input class="input span4" value=localTime disabled=true tooltip="当前系统时间"}}
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">设置日期</label>
		<div class="controls">
			{{view Broada.ui.Inputdate
				showTrigger=true
				date=form.systemDate}}
				<label>也可以通过键盘↑↓键或者鼠标滚轮修改大小 键盘←→键切换修改的区域</label>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">设置时间</label>
		<div class="controls">
		 {{view Broada.ui.Inputdate
            dateFormat="T"}}
        <label>可以通过键盘↑↓键或者鼠标滚轮修改大小 键盘←→键切换修改的区域</label>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label">时间服务器</label>
		<div class="controls">
			{{view Broada.ui.Combobox content=timeServerArray value=form.timeServer}}
		</div>
	</div>
	
	<div class="control-group">
		<label class="control-label">自动同步时间服务器</label>
		<div class="controls">
			{{input type="checkbox" checked=form.autoSync 
				tooltip="如果勾选，表示定期自动同步服务器"}}&nbsp;&nbsp;
			<button class="btn" {{action "keepSync"}}>立即同步</button>
		</div>
	</div>

	</div>
	</div>
	

	<div class="row-fluid">
	<div class="span2">
			服务
	</div>
	<div class="span10">
	<div class="control-group">
		<label class="control-label"><i class="field-required"><font color="red">*</font></i>WEB访问端口</label>
		<div class="controls">
			{{input class="input span4" value=form.webPort
				tooltip="请填写WEB访问端口"}}
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">启用APM指标计算服务</label>
		<div class="controls">
			{{input type="checkbox" checked=form.apmServerEnable
				tooltip="如果勾选，表示启用本地指标计算服务"}}
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">远程指标计算服务地址</label>
		<div class="controls">
			{{input class="input span4" value=form.remoteIp disabled=inpDisabled  tooltip="请填写远程指标计算服务地址"}}
		</div>
	</div>
	<div class="control-group">
		<label class="control-label"> 端口</label>
		<div class="controls">
			{{input class="input span4" value=form.port disabled=inpDisabled tooltip="请填写端口"}}
		</div>
	</div>
	</div>
	</div>
	
	<div class="container">
	<div class="control-group">
		<div class="controls">
			<button class="btn btn-primary" {{action "save"}} >保存</button>
			<button class="btn" {{action "cancel"}}>重置</button>
		</div>
	</div>
	</div>
	
</div>
</form>